package com.flow.model;

import java.util.HashSet;
import java.util.Set;


/**
 * PermissionMenu entity. @author MyEclipse Persistence Tools
 */

public class PermissionMenu  implements java.io.Serializable {


    // Fields    

     private Integer pmId;
     private String pmName;
     private String pmShowName;
     private String pmNamespace;
     private Integer pmMangerOrplatform;
     private Integer pmStatus;
     private String remark;
     private Set rolePermissions = new HashSet(0);


    // Constructors

    /** default constructor */
    public PermissionMenu() {
    }

	/** minimal constructor */
    public PermissionMenu(String pmName, String pmShowName, String pmNamespace, Integer pmMangerOrplatform, Integer pmStatus, String remark) {
        this.pmName = pmName;
        this.pmShowName = pmShowName;
        this.pmNamespace = pmNamespace;
        this.pmMangerOrplatform = pmMangerOrplatform;
        this.pmStatus = pmStatus;
        this.remark = remark;
    }
    
    /** minimal constructor */
    public PermissionMenu(Integer pmId, String pmName, String pmShowName, String pmNamespace, Integer pmMangerOrplatform, Integer pmStatus, String remark) {
    	this.pmId = pmId;
    	this.pmName = pmName;
    	this.pmShowName = pmShowName;
        this.pmNamespace = pmNamespace;
        this.pmMangerOrplatform = pmMangerOrplatform;
        this.pmStatus = pmStatus;
        this.remark = remark;
    }
    
    /** full constructor */
    public PermissionMenu(String pmName, String pmShowName, String pmNamespace, Integer pmMangerOrplatform, Integer pmStatus, String remark, Set rolePermissions) {
        this.pmName = pmName;
        this.pmShowName = pmShowName;
        this.pmNamespace = pmNamespace;
        this.pmMangerOrplatform = pmMangerOrplatform;
        this.pmStatus = pmStatus;
        this.remark = remark;
        this.rolePermissions = rolePermissions;
    }

   
    // Property accessors

    public Integer getPmId() {
        return this.pmId;
    }
    
    public void setPmId(Integer pmId) {
        this.pmId = pmId;
    }

    public String getPmName() {
        return this.pmName;
    }
    
    public void setPmName(String pmName) {
        this.pmName = pmName;
    }

    public String getPmShowName() {
        return this.pmShowName;
    }
    
    public void setPmShowName(String pmShowName) {
        this.pmShowName = pmShowName;
    }

    public String getPmNamespace() {
        return this.pmNamespace;
    }
    
    public void setPmNamespace(String pmNamespace) {
        this.pmNamespace = pmNamespace;
    }

    public Integer getPmMangerOrplatform() {
        return this.pmMangerOrplatform;
    }
    
    public void setPmMangerOrplatform(Integer pmMangerOrplatform) {
        this.pmMangerOrplatform = pmMangerOrplatform;
    }

    public Integer getPmStatus() {
        return this.pmStatus;
    }
    
    public void setPmStatus(Integer pmStatus) {
        this.pmStatus = pmStatus;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Set getRolePermissions() {
        return this.rolePermissions;
    }
    
    public void setRolePermissions(Set rolePermissions) {
        this.rolePermissions = rolePermissions;
    }
   








}